Method and system for conducting a transaction over a network

ABSTRACT

A method and system for conducting a transaction over a network is disclosed. The network includes a first system and a second system. The method and system comprise initiating a transaction, comparing a value of the first system with a value of the second system and continuing the transaction based on the comparison. Through the use of the present invention, a client can download for-fee files as often as necessary in spite of potential lost connections. Consequently, the client can download files he or she has paid for with the assurance that he or she will pay just once because payment is not for the content, but for an encryption key that is capable of being utilized by the client system to subsequently decrypt the downloaded file.

FIELD OF INVENTION

[0001] The present invention relates to the remote execution of computer programs and more particularly to the method and system for conducting a transaction over a network.

BACKGROUND OF THE INVENTION

[0002] Computer networking systems such as the Internet are exploding in popularity all over the world. The Internet is a publicly available network of computer networks that spans, not only the United States, but many parts of the world as well. FIG. 1 is an illustration of a typical Internet environment. This environment includes a network 10, such as the Internet, that is connected to a plurality of client computer systems 12, each of the plurality of client computer systems including a display device for displaying information. Also connected to the network 10 is a plurality of server systems 14 that provide information to the network 10.

[0003] To access the information on the Internet, a user uses a computer (i.e. client system) coupled to the Internet to access the various server systems via web sites. These web sites include programs which support the physical, data link, network and transport layers necessary for communication among the server systems on the Internet. In this way, computers on a network associated with one server may communicate with a computer associated with another server to conduct various transactions.

[0004] One such transaction that occurs on the Internet is the purchase of downloadable files (audio, video, PostScript, PDF, etc.) from a server system by a client utilizing a client system. FIG. 2 is a flowchart of a conventional method of conducting such a transaction over the Internet. First, a client access a web site on the Internet, via step 20. Next, the client selects a file to be downloaded, via step 22. The client then makes a payment for the downloadable file, via step 24. Finally, the file is downloaded to the client system, via step 26.

[0005] A problem with this approach is that sometimes the files that are being downloaded are large and require a substantial amount of time to complete the download process. Consequently, if the connection to the Internet is unexpectedly lost during the download, the client may have to return to the web site and pay for the file again in order to complete the download process.

[0006] Accordingly, a method and system for conducting a transaction over the Internet whereby a client can download for-fee files with the assurance that he or she will pay just once for the file. The method and system should be simple, cost effective and capable of being easily adapted to current technology. The present invention addresses such a need.

SUMMARY OF THE INVENTION

[0007] A method and system for conducting a transaction over a network is disclosed. The network includes a first system and a second system. The method and system comprise initiating a transaction, comparing a value of the first system with a value of the second system and continuing the transaction based on the comparison.

[0008] Through the use of the present invention, a client can download for-fee files as often as necessary in spite of potential lost connections. Consequently, the client can download files he or she has paid for with the assurance that he or she will pay just once because payment is not for the content, but for an encryption key that is capable of being utilized by the client system to subsequently decrypt the downloaded file.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009]FIG. 1 is an illustration of a typical Internet environment.

[0010]FIG. 2 is a flowchart of a conventional method of conducting a transaction over a network.

[0011]FIG. 3 is a high level flowchart of the method in accordance with the present invention.

[0012]FIG. 4 is a more detailed flowchart of the method in accordance with the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0013] The present invention provides a method and system for conducting a transaction over a network. The following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements. Although the present invention has been described in the context of being used with the Internet, one of ordinary skill in the art will readily recognize that the present system can be used in conjunction with any type of networking system while remaining within the spirit and scope of the present invention. Accordingly, various modifications to the preferred embodiment will be readily apparent to those skilled in the art and the generic principles herein may be applied to other embodiments. Thus, the present invention is not intended to be limited to the embodiments shown but is to be accorded the widest scope consistent with the principles and features described herein.

[0014] The present invention is present in the context of a preferred embodiment. The preferred embodiment of the present invention is a method and system for conducting a transaction over a network such as the Internet. The method and system in accordance with the present invention insures that if a customer wants to pay for a downloadable file over the Internet, the customer will only have to pay for it once even if the connection to the Internet is somehow lost while the file is being downloaded.

[0015] The present invention accomplishes the above noted advantages through the implementation of a server-to-client decryption key. Rather than requiring a client to pay for the downloadable file first and then transferring the file, the present invention allows a client to pay for a decryption key after an encrypted file has been downloaded. Consequently, if the connection to the Internet is lost while the file is being downloaded, the client can return to the web site after reestablishing the connection to the Internet and complete the download of the file without having been charged for the first download attempt.

[0016] For a better understanding of the method in accordance with the present invention, please refer now to FIG. 3. FIG. 3 is a high level flowchart of the method in accordance with the present invention. First, a transaction is initiated over the Internet, via step 100. Preferably this involves a client browsing a particular web site and selecting a file for download. Next, a portion of the client system is compared with a portion of the server system, via step 102. This step preferably involves an instruction to the server system to look for a cookie on the client system. A cookie comprises data created by a server system that is stored on a client's computer in a persistent data file. It provides a way for the server system to keep track of a client's patterns and preferences and store them on the client's own system. Finally, the transaction is continued based on the comparison, via step 104.

[0017] If a cookie exists, based on step 102, this represents a returning client. The server system then compares a value in the cookie with a value in its database. If the values do not match, or if there was no cookie, the server system generates a DES-based encryption key, the encryption key preferably comprising not less than 56 bits and no more than 256 bits of data, for the download session. This “session” key is used for the duration of the transaction with the client. A session key is reused only if the current transaction is still in-flight (i.e. the transaction was previously started and not completed). The server system then instructs the browser to create a cookie on the client system and store half (the high 128 bits) of the session key in the cookie. The server system also stores the entire session key in its database in a record that corresponds to the current client. The server system then uses the full session key to encrypt all the files that the client selects for downloading. At this point, the client can download the encrypted files.

[0018] If the download fails during the transaction, the client can return to the server web site page and reselect the failed file. However, this time the server system will find a cookie on the client system and the comparison of the value in the cookie with a value in the server database will yield a match. Accordingly, if the value in the server database matches the value in the cookie, this represents the condition wherein the client either wants to download more files as part of the same transaction, or wants to retry a download that had previously failed. For either case, the transaction is still in-flight and not yet complete. That is, the client has not yet paid the provider for the files he or she has downloaded, nor can the client use the files because he or she does not have the full session key with which to decrypt the files. The server system then encrypts the selected files using the current session key and the client downloads the files.

[0019] When the client has completed downloading all selected files, and wants to complete the transaction, he or she fills in a form with the appropriate information, and-submits it to the server system. After verifying payment information, the server system instructs the client to download the full session key to the same directory where he or she downloaded the other files. The server system also stores the full session key in the cookie on the client machine. This completes the transaction.

[0020] Because the session key preferably comprises no more than 256 bits of data, it is capable of being downloaded quickly thereby greatly increasing the odds that it will be successfully downloaded prior to any unexpected disconnection from the Internet. If it does fail, the client can request the session-key file again as long as he or she does not begin a new transaction by selecting new files to download. The server system allows the client to re-download the session-key file because the full session key is still in the cookie.

[0021] When the client has the full session key, he or she can use a decryption tool from the content provider (either as a separate tool or as part of the reader for the files downloaded) to decrypt the files. This tool uses the downloaded file and the session-key file as input. If the client attempts to use a different key file, the files will be decrypted incorrectly.

[0022] For a more detailed description of the method in accordance with the present invention, please refer now to FIG. 4. FIG. 4 is a more detailed flowchart of the method in accordance with the present invention. Once the client initiates the transaction, the server system compares a value in the client system with a value in the server system, via step 200. This step preferably involves the comparison of a value in the cookie with a value in the server database. If the value in the cookie does not match the value in the server system or a cookie doesn't exist, the server system generates an encryption key, via step 202. Preferably, the encryption key is not less than 56 bits and no more than 256 bits of data. Next, a portion of the encryption key is stored in the client system, via step 204. The portion of the encryption key is preferably stored in a cookie on the client system.

[0023] Next, the entire encryption key is stored in the server system, via step 206. The server system then transfers an encrypted file to the client system, via step 208. After the encrypted file has been transferred, the remaining portion of the encryption key is transferred to the client system, via step 210. The encryption key is capable of being utilized by the client system to subsequently decrypt the encrypted file. Preferably, step 210 is performed in response to a payment transaction that takes place from the client system to the server system.

[0024] Going back to step 200, if the value in the client system matches the value in the server system, the method proceeds to step 208 wherein the server system then transfers an encrypted file to the client system based on a request from the client system. However in this case, the client either wants to download more files as part of the same transaction, or wants to retry a download that had previously failed. In either case, after the encrypted file(s) has been transferred, the remaining portion of the encryption key is transferred to the client system whereby the encryption key is capable of being utilized by the client system to subsequently decrypt the encrypted file(s).

[0025] Because the server system uses a client-side cookie to retain information about the state of the transaction (“values do not match” means transaction not started, “values match” means transaction in progress) the present invention defines a transaction by how the client views it: started when he or she selects files and complete when he or she has the session key to decrypt and use the files. Thus, the customer can download for-fee files as often as necessary in spite of potential lost connections. Consequently, the customer can download files he or she has paid for with the assurance that he or she will pay just once because payment is not for the content, but for the key (pricing can be based on the content, but the payment is actually for the session key).

[0026] Such a method may also be implemented, for example, by operating a computer system to execute a sequence of machine-readable instructions. The instructions may reside in various types of computer readable media. In this respect, another aspect of the present invention concerns a programmed product, comprising computer readable media tangibly embodying a program of machine readable instructions executable by a digital data processor to perform a method for booting up a computer system in a secure fashion.

[0027] This computer readable media may comprise, for example, RAM (not shown) contained within the system. Alternatively, the instructions may be contained in another computer readable media such as a magnetic data storage diskette and directly or indirectly accessed by the computer system. Whether contained in the computer system or elsewhere, the instructions may be stored on a variety of machine readable storage media, such as a DASD storage (e.g. a conventional “hard drive” or a RAID array), magnetic tape, electronic read-only memory, an optical storage device (e.g., CD ROM, WORM, DVD, digital optical tape), paper “punch” cards, or other suitable computer readable media including transmission media such as digital, analog, and wireless communication links. In an illustrative embodiment of the invention, the machine-readable instructions may comprise lines of compiled C, C++, or similar language code commonly used by those skilled in the programming for this type of application arts.

[0028] Although the present invention has been described in accordance with the embodiments shown, one of ordinary skill in the art will readily recognize that there could be variations to the embodiments and those variations would be within the spirit and scope of the present invention. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims. 

What is claimed is:
 1. A method for conducting a transaction over a network, the network including a first system and a second system, the method comprising the steps of: a) initiating a transaction; b) comparing a value of the first system with a value of the second system; and c) continuing the transaction based on the comparison.
 2. The method of claim 1 wherein the first system comprises a client system and the second system comprises a server system.
 3. The method of claim 2 wherein the value of the client system is in a persistent client-side data file.
 4. The method of claim 3 wherein the persistent client-side data file comprises a cookie.
 5. The method of claim 4 wherein step b) further comprises: b1) allowing the server system to compare the value in the cookie with the value in the server system.
 6. The method of claim 5 wherein if the value in the cookie does not match the value in the server system, step c) further comprises: c1) generating an encryption key; c2) storing a portion of the encryption key in the cookie; and c3) storing the entire encryption key on the server system.
 7. The method of claim 6 wherein step c) further comprises: c4) allowing the server system to transfer encrypted information to the client system; and c5) allowing the server system to transfer a remaining portion of the encryption key to the client system whereby the encryption key is capable of being utilized by the client system to decrypt the encrypted information.
 8. The method of claim 7 wherein step c5) is performed in response to a payment transaction from the client system to the server system.
 9. The method of claim 5 wherein if the value in the cookie does match the value in the server system, step c) further comprises: c1) allowing the server system to transfer encrypted information to the client system; and c2) allowing the server system to transfer a remaining portion of the encryption key to the client system whereby the encryption key is capable of being utilized by the client system to decrypt the encrypted information.
 10. The method of claim 9 wherein step c2) is performed in response to a payment transaction from the client system to the server system.
 11. A system for conducting a transaction over a network, the network including a first system and a second system, the system comprising: means for initiating a transaction; means for comparing a value of the first system with a value of the second system; and means for continuing the transaction based on the comparison.
 12. The system of claim 11 wherein the first system comprises a client system and the second system comprises a server system.
 13. The system of claim 12 wherein the value of the client system is in a persistent client side data file.
 14. The system of claim 13 wherein the persistent client-side data file comprises a cookie.
 15. The system of claim 14 wherein the means for comparing further comprises: means for allowing the server system to compare the value in the cookie with the value in the server system.
 16. The system of claim 15 wherein if the value in the cookie does not match the value in the server system, the means for continuing the transaction further comprises: means for generating an encryption key; means for storing a portion of the encryption key in the cookie; and means for storing the entire encryption key on the server system.
 17. The system of claim 16 wherein the means for continuing the transaction further comprises: means for allowing the server system to transfer encrypted information to the client system; and means for allowing the server system to transfer a remaining portion of the encryption key to the client system whereby the encryption key is capable of being utilized by the client system to decrypt the encrypted information.
 18. The system of claim 17 wherein the means for allowing the server system to transfer a remaining portion of the encryption key is performed in response to a payment transaction from the client system to the server system.
 19. The system of claim 15 wherein if the value in the cookie does match the value in the server system, the means for continuing the transaction further comprises: means for allowing the server system to transfer encrypted information to the client system; and means for allowing the server system to transfer a remaining portion of the encryption key to the client system whereby the encryption key is capable of being utilized by the client system to decrypt the encrypted information.
 20. The system of claim 19 wherein the means for allowing the server system to transfer a remaining portion of the encryption key is performed in response to a payment transaction from the client system to the server system.
 21. A computer readable medium containing program instructions for conducting a transaction over a network, the network including a first system and a second system, the program instructions comprising the steps of: a) initiating a transaction; b) comparing a value of the first system with a value of the second system; and c) continuing the transaction based on the comparison.
 22. The computer readable medium of claim 21 wherein the first system comprises a client system and the second system comprises a server system.
 23. The computer readable medium of claim 22 wherein the value of the client system is in a persistent client-side data file.
 24. The computer readable medium of claim 23 wherein the persistent client-side data file comprises a cookie.
 25. The computer readable medium of claim 24 wherein step b) further comprises: b1) allowing the server system to compare the value in the cookie with the value in the server system.
 26. The computer readable medium of claim 25 wherein if the value in the cookie does not match the value in the server system, step c) further comprises: c1) generating an encryption key; c2) storing a portion of the encryption key in the cookie; and c3) storing the entire encryption key on the server system.
 27. The computer readable medium of claim 26 wherein step c) further comprises: c4) allowing the server system to transfer encrypted information to the client system; and c5) allowing the server system to transfer a remaining portion of the encryption key to the client system whereby the encryption key is capable of being utilized by the client system to decrypt the encrypted information.
 28. The computer readable medium of claim 27 wherein step c5) is performed in response to a payment transaction from the client system to the server system.
 29. The computer readable medium of claim 25 wherein if the value in the cookie does match the value in the server system, step c) further comprises: c1) allowing the server system to transfer encrypted information to the client system; and c2) allowing the server system to transfer a remaining portion of the encryption key to the client system whereby the encryption key is capable of being utilized by the client system to decrypt the encrypted information.
 30. The computer readable medium of claim 29 wherein step c2) is performed in response to a payment transaction from the client system to the server system. 